package com.zrh.jsd.service.studydemo.java8stream;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class TestListNull {
    public static void main(String[] args) {
        String[] fileList = null;
        List list = Arrays.stream(fileList).collect(Collectors.toList());
        System.out.println(list);
    }
}
